package com.cxg.allsys.expertsys.controller;

import com.cxg.allsys.expertsys.service.IExpertsysService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/comment")
public class DelectCommerConfig {

    @Autowired
    private IExpertsysService iExpertsysSevice;

    //删除评论
    @RequestMapping("/DelectCommernt")
    public String delectCommernt(Integer c_id){
        System.out.println( c_id   + "+++++++++++++++");
        return iExpertsysSevice.delectCommernt(c_id);
    }
}
